package com.winter.main.model.entity;

import javax.persistence.Table;
import java.io.Serializable;

/**
 * Desc: 角色权限类
 * Author: dushuang
 * Date: Create in 2018/4/18
 */
@Table(name = "sys_role_rule")
public class SysRoleRule implements Serializable{

    private static final long serialVersionUID = 1L;

    //角色id
    private Long roleId;

    //权限id
    private Long ruleId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public void setRuleId(Long ruleId) {
        this.ruleId = ruleId;
    }
}
